'use strict';
const content = `<div id="app"><slot /></div>`;
const template = `
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="description" :content="desc">
    <meta name="keywords" :content="keywords">
    <title>{{ title }}</title>
  </head>
  <body>${content}</body>
</html>
`;

export default {
  name: 'LeeRoot',
  template: EASY_ENV_IS_NODE ? template : content,
  props: {
    desc: String,
    title: String,
    keywords: String,
    rootClass: String,
  },
};
